﻿@RenderPage(view)
        
@functions{
    private string view;
    protected override void InitializePage()
    {
    
    
        if(IsPost){
            if(Request["save"] == "Save"){
                    view="/Maintenance/_AddData.cshtml";
                
                }
            else
                {
                    view="/Maintenance/_AddForm.cshtml";
                }
            }
        else{
            view="/Maintenance/_AddForm.cshtml";
            }
    }
 }         

     